import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';

import { ClientListComponent } from './client-list/client-list.component';
import { ClientDetailComponent } from './client-list/client-detail/client-detail.component';
import { ClientIntentComponent } from './client-intent/client-intent.component';
import { AgentIntentComponent } from './agent-intent/agent-intent.component';
export const routes: Routes = [
  {
    path: 'client-list',
    component: ClientListComponent,
    children: []
  },
  {
    path: 'client-list/client-detail/:id',
    component: ClientDetailComponent,
    children: []
  },
  {
    path: 'client-intent',
    component: ClientIntentComponent,
    children: []
  },
  {
    path: 'agent-intent',
    component: AgentIntentComponent,
    children: []
  },
];

export const routing: ModuleWithProviders = RouterModule.forChild(routes);
